package org.zxn.study.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.zxn.study.entity.User;

import java.util.List;

/**
 * @ClassName UserService
 * @Description: UserService
 * @Author zxn
 * @Date 2025/7/10 17:05
 **/
public interface UserService extends IService<User> {
    /**
     * add a new user
     * @param model
     * @return
     */
    Integer add(User model);
    /**
     * select all users
     * @return
     */
    List<User> selectAll();
}
